home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _D2E98FBC03D4454EB7CC456FD5241FFB < prev    next >
Encoding:
Text File  |  2006-08-04  |  1.1 KB  |  35 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12. def Preset_ColorAdjustHSL():
  13.     return {
  14.         'HSL': {
  15.             'Colorize': False, 
  16.             'Master': (0,0,0), 
  17.             'MasterColorize': (0,0,0), 
  18.             'Red': (0,0,0,315,345,15,45), 
  19.             'Green': (0,0,0,75,105,135,165), 
  20.             'Blue': (130,70,0,195,225,255,285), 
  21.             'Cyan': (0,0,0,135,165,195,225), 
  22.             'Magenta': (0,0,0,255,285,315,345), 
  23.             'Yellow': (0,0,0,15,45,75,105)
  24.             }, 
  25.         'GeneralSettings': {
  26.             'ExecutionMode': App.Constants.ExecutionMode.Default, 
  27.             'AutoActionMode': App.Constants.AutoActionMode.Match
  28.             }
  29.         }
  30.  
  31. def Do(Environment):
  32.     # Color Adjust HSL
  33.     App.Do( Environment, 'ColorAdjustHSL',         Preset_ColorAdjustHSL())
  34.  
  35.